package chd.edu.spzx.manager.mapper;

import chd.edu.spzx.model.dto.order.OrderStatisticsDto;
import chd.edu.spzx.model.entity.order.OrderStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Zhang Chaoliang
 * create 2023
 */
@Mapper
public interface OrderStatisticsMapper {

    void insert(OrderStatistics orderStatistics);

    /**
     * 根据orderStatisticsDto 查询统计结果数据，返回list集合
     * @param orderStatisticsDto
     * @return
     */
    List<OrderStatistics> selectList(OrderStatisticsDto orderStatisticsDto);
}
